package edu.ts.crowdfunding.product.mapper;

import edu.ts.crowdfunding.product.domain.Project;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.ts.crowdfunding.product.vo.ProjectVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【project】的数据库操作Mapper
* @createDate 2025-06-25 08:44:48
* @Entity edu.ts.crowdfunding.product.domain.Project
*/
@Mapper
public interface ProjectMapper extends BaseMapper<Project> {
//增加项目、分类、发起人联合查询
    public List<Project> selectProjectRef(@Param("projectVo") ProjectVo projectVo);
    //显示
    public Project selectProjectByIdRef(@Param("id") int id);
}




